From 624e0e140948f7cdeef1225bb48fd03909772eb8 Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Thu, 24 Nov 2016 18:31:11 +0100 Subject: [PATCH] gdk: Rewrite docs some more Now gdk_window_process_updates() isn't mentioned either. GDK takes care of redrawing, not you! --- gdk/gdkwindow.c | 19 +++---------------- 1 file changed, 3 insertions(+), 16 deletions(-) diff --git a/gdk/gdkwindow.c b/gdk/gdkwindow.c index 7f133ffd22..4051d8dff4 100644 --- a/gdk/gdkwindow.c +++ b/gdk/gdkwindow.c @@ -3739,11 +3739,7 @@ gdk_window_invalidate_maybe_recurse_full (GdkWindow *window, * @user_data: data passed to @child_func * * Adds @region to the update area for @window. The update area is the - * region that needs to be redrawn, or “dirty region.” The call - * gdk_window_process_updates() sends one or more expose events to the - * window, which together cover the entire update area. An - * application would normally redraw the contents of @window in - * response to those expose events. + * region that needs to be redrawn, or “dirty region.” * * GDK will process all updates whenever the frame clock schedules a redraw, * so there’s no need to do forces redraws manually, you just need to @@ -3789,11 +3785,7 @@ gdk_window_invalidate_region_full (GdkWindow *window, * @invalidate_children: %TRUE to also invalidate child windows * * Adds @region to the update area for @window. The update area is the - * region that needs to be redrawn, or “dirty region.” The call - * gdk_window_process_updates() sends one or more expose events to the - * window, which together cover the entire update area. An - * application would normally redraw the contents of @window in - * response to those expose events. + * region that needs to be redrawn, or “dirty region.” * * GDK will process all updates whenever the frame clock schedules a redraw, * so there’s no need to do forces redraws manually, you just need to @@ -3821,12 +3813,7 @@ gdk_window_invalidate_region (GdkWindow *window, * @window: a #GdkWindow * @region: a #cairo_region_t * - * Adds @region to the update area for @window. The update area is the - * region that needs to be redrawn, or “dirty region.” The call - * gdk_window_process_updates() sends one or more expose events to the - * window, which together cover the entire update area. An - * application would normally redraw the contents of @window in - * response to those expose events. + * Adds @region to the update area for @window. * * GDK will process all updates whenever the frame clock schedules a redraw, * so there’s no need to do forces redraws manually, you just need to -- 2.30.2